package com.lxp.order.client;

import com.lxp.utils.R;
import com.lxp.utils.vo.orderVo.UCenterOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient(name = "service-ucenter")
public interface UCenterMemberClient {
    @GetMapping("/uCenterService/uCenter_member/getUser/{userId}")
    public UCenterOrderVo getUser(@PathVariable("userId") String userId);

}
